const Index = () => {
    const [show, setShow] = React.useState(true)
    return <div>
        <button onClick={()=>setShow(!show)}>{show ? '隐藏' : '显示'}</button>
    </div>
};